﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Web.Mvc;

namespace SCS.Core.Models.Collection
{
    public class LoginCollection
    {
        [Required(ErrorMessage = "Username chưa đúng")]
        [DisplayName("User Name")]
        [StringLength(250)]
        public string UserName { get; set; }

        [Required(ErrorMessage = "Password chưa đúng")]
        [StringLength(250)]
        [PasswordPropertyText(true)]
        public string Password { get; set; }

        public bool Remember { get; set; }
    }
}